
import java.io.Serializable;
import java.util.Date;

public class Message implements Serializable{
	Date date=new Date();
	long stamp;
	int id;
	public Message(int id){
		stamp=date.getTime();
		this.id=id;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public long getStamp() {
		return stamp;
	}
}